package com.yzyz.dao;

import java.util.List;

import com.yzyz.bean.scenic.PictureBean;

public interface PictureDao extends IBaseDao {
	PictureBean get(String name);
	List<PictureBean> getPicturesWithoutContents(int scenicId);
	
	List<PictureBean> getPicture(int pictureId);
	
	/**
	 * 通过景点名字来获得图片
	 * @param name
	 * @return
	 */
	PictureBean getPictureByAttName(String name, int scenicId);
	
	/**
	 * 获得景区下面的所有图片
	 * @param scenicId
	 * @return
	 */
	List<PictureBean> getPicturesByScenic(int scenicId);
}
